runtime polymorphism example program in c